<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title><%= @title %></title>
		<%= stylesheet_link_tag 'site' %>
			<%= javascript_include_tag :defaults %>
			<%= javascript_include_tag "select" %>
	</head>
	<body>
		<div id="page">
			<h1 class="header"><a href="<%= url_for :controller => :site, :action => :index -%>"><%= 'OTW Volunteers DB'.t -%></a></h1>
			<!-- site navigation handled by partial -->
			<%= render :partial => '/site/navigation' -%>
		
			<div id="content">
				
				<!-- show flash error messages which may optionally have different styles -->
				<%= flash_div :notice, :warning, :error %>
				
				<!-- the content for whichever controller/action we are displaying -->
				<%= yield %>
				
			</div>

			<% if ENV["RAILS_ENV"]=="development" %>
				<%= render :partial => '/site/debug' -%>
			<% end %>
		</div>
	</body>
</html>